import request from '@/utils/request'
//分页查询全部
export function findRentalAccount(data) {
  return request({
    url: '/antiFraud',
    method: 'post',
    data
  })
}
//删除信息
export function handleDelete(id) {
  return request({
    url: '/delete/antiFraud',
    method: 'get',
    params: { id }
  })
}
//新增信息
export function submitForm(data) {
  return request({
    url: '/add/antiFraud',
    method: 'post',
    data
  })
}
//修改信息
export function updateForm(data) {
  return request({
    url: '/update/antiFraud',
    method: 'post',
    data
  })
}
